projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658b3db
)
Disable checkkey for now: Something is wrong with dropbearkey
author
Steven Barth
<
[email protected]
>
Thu, 28 May 2009 08:48:14 +0000
(08:48 +0000)
committer
Steven Barth
<
[email protected]
>
Thu, 28 May 2009 08:48:14 +0000
(08:48 +0000)
libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey
patch
|
blob
|
history
diff --git
a/libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey
b/libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey
index 22bb1f8cc5286c6556cc3f99c2408fcd2b817425..981c66744efc5f52c4ac936197663d5d5cb9bc3f 100755
(executable)
--- a/
libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey
+++ b/
libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey
@@
-1,12
+1,14
@@
#!/usr/bin/lua
+os.exit(0) --ToDo
+
local nixio = require "nixio"
local fs = require "nixio.fs"
local posix
local defkey = nixio.meta_tls_context.tls_defaultkey
local okey = "646e6b90d1ad02719cb1b221b7ce447a"
-if
(not defkey or io.open(defkey)
) and
-
not (nixio.crypto.hash("md5"):update(fs.readfile(defkey)):final()) == okey
then
+if
not defkey or (io.open(defkey
) and
+
(nixio.crypto.hash("md5"):update(fs.readfile(defkey)):final()) ~= okey)
then
os.exit(0)
end